package hh.util.json.parser;

import com.fasterxml.jackson.databind.ObjectMapper;

/**
 * @Description:
 * @Author: huanghuai
 * @Date: 2020/8/18
 */
public class JsonParser {


    public static String toJson(Object obj) {
        if (obj == null) {
            return null;
        }
        Class<?> aClass = obj.getClass();
        return "";

    }

    public static Object parse() {
        return null;
    }

    public static void main(String[] args) throws Exception{
        System.out.println(new ObjectMapper().writeValueAsString(new Object()));;
    }
}
